﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="Crm.Views.AdayCariKarti"
           Width="800" Height="600" 
           Title="Potansiyel Cari Bilgileri">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Button x:Name="OKButton" Content="Kaydet" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,8,0" Grid.Row="1" />
        <controls:TabControl Margin="0">
        	<controls:TabItem Header="Hesap Bilgileri">
        		<Grid Background="White">
        			<Grid.ColumnDefinitions>
        				<ColumnDefinition Width="150"/>
        				<ColumnDefinition Width="0.567*"/>
        			</Grid.ColumnDefinitions>
        			<Grid.RowDefinitions>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        				<RowDefinition Height="30"/>
        			</Grid.RowDefinitions>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Kodu" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Ünvanı" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="1" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Ünvanı" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="2" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Temsilci Kodu" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="4" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Grup Kodu" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="5" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Sektör Kodu" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="6" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Bölge Kodu" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="7" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="Web Adresi" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="8" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock Margin="0,2,5,2" TextWrapping="Wrap" Text="E-Mail Adresi" HorizontalAlignment="Right" TextAlignment="Right" FontSize="13.333" Grid.Row="9" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtKodu" Grid.Column="1" Margin="5,2,0,2" TextWrapping="Wrap" HorizontalAlignment="Left" Width="200"/>
        			<TextBox x:Name="txtUnvan1" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="1" Width="350" HorizontalAlignment="Left"/>
        			<TextBox x:Name="txtUnvan2" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="2" HorizontalAlignment="Left" Width="350"/>
        			<TextBox x:Name="txtTemsilci" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="4" HorizontalAlignment="Left" Width="200"/>
        			<TextBox x:Name="txtGrup" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="5" HorizontalAlignment="Left" Width="200"/>
        			<TextBox x:Name="txtSektor" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="6" HorizontalAlignment="Left" Width="200"/>
        			<TextBox x:Name="txtBolge" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="7" HorizontalAlignment="Left" Width="200"/>
        			<TextBox x:Name="txtWeb" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="8" HorizontalAlignment="Left" Width="200"/>
        			<TextBox x:Name="txtEmail" Grid.Column="1" Margin="5,2" TextWrapping="Wrap" Grid.Row="9" HorizontalAlignment="Left" Width="200"/>
                    <Button x:Name="btnTemsilci" Content="?" Grid.Column="1" HorizontalAlignment="Left" Height="24" Margin="210,2,0,2" Grid.Row="4" VerticalAlignment="Center" Width="24" Click="btnTemsilci_Click_1"/>
                    <Button x:Name="btnGrup" Content="?" Grid.Column="1" HorizontalAlignment="Left" Height="24" Margin="210,2,0,2" Grid.Row="5" VerticalAlignment="Bottom" Width="24" Click="btnGrup_Click"/>
                    <Button x:Name="btnSektor" Content="?" Grid.Column="1" HorizontalAlignment="Left" Height="24" Margin="210,2,0,2" Grid.Row="6" VerticalAlignment="Center" Width="24" Click="btnSektor_Click"/>
                    <Button x:Name="btnBolge" Content="?" Grid.Column="1" HorizontalAlignment="Left" Height="24" Margin="210,2,0,2" Grid.Row="7" VerticalAlignment="Center" Width="24" Click="btnBolge_Click"/>
                    <Button x:Name="btnCevir" Content="Normal Cari'ye Çevir" Grid.Column="1" HorizontalAlignment="Right" Click="btnCevir_Click" Width="140" IsEnabled="False"/>
                </Grid>
        	</controls:TabItem>
        	<controls:TabItem Header="İletişim Bilgileri">
        		<Grid Background="White">
        			<Grid.ColumnDefinitions>
        				<ColumnDefinition Width="150"/>
        				<ColumnDefinition Width="0.761*"/>
        			</Grid.ColumnDefinitions>
        			<Grid.RowDefinitions>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        			</Grid.RowDefinitions>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Adres" VerticalAlignment="Center" FontSize="13.333"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Adres" FontSize="13.333" Grid.Row="1" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Posta Kodu" FontSize="13.333" Grid.Row="2" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İlçe" FontSize="13.333" Grid.Row="3" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İl" FontSize="13.333" Grid.Row="4" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Ülke" FontSize="13.333" Grid.Row="5" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Telefon" FontSize="13.333" Grid.Row="6" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Adres" FontSize="13.333" Grid.Row="8" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Adres" FontSize="13.333" Grid.Row="9" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Posta Kodu" FontSize="13.333" Grid.Row="10" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İlçe" FontSize="13.333" Grid.Row="11" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İl" FontSize="13.333" Grid.Row="12" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Ülke" FontSize="13.333" Grid.Row="13" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Telefon" FontSize="13.333" Grid.Row="14" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1Satir1" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="216" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1Satir2" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="216" Grid.Row="1" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1Posta" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="75" Grid.Row="2" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1ilce" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="3" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1il" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="4" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1Ulke" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="5" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres1Telefon" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="6" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2Satir1" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="216" Grid.Row="8" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2Satir2" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="216" Grid.Row="9" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2Posta" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="75" Grid.Row="10" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2ilce" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="11" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2il" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="12" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2Ulke" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="13" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtAdres2Telefon" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="14" VerticalAlignment="Center"/>
        		</Grid>
        	</controls:TabItem>
        	<controls:TabItem Header="Yetkililer">
        		<Grid Background="White">
        			<Grid.ColumnDefinitions>
        				<ColumnDefinition Width="150"/>
        				<ColumnDefinition Width="0.761*"/>
        			</Grid.ColumnDefinitions>
        			<Grid.RowDefinitions>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        				<RowDefinition/>
        			</Grid.RowDefinitions>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İsim" VerticalAlignment="Center" FontSize="13.333"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Dahili telefon no" FontSize="13.333" Grid.Row="1" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Cep telefonu" FontSize="13.333" Grid.Row="2" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="E-Mail adresi" FontSize="13.333" Grid.Row="3" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili1Adi" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="300" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili1Dahili" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="50" Grid.Row="1" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili1Ceptel" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="2" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili1Email" Grid.Column="1" HorizontalAlignment="Left" Margin="8,2,0,2" TextWrapping="Wrap" Width="200" Grid.Row="3" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İsim" FontSize="13.333" Grid.Row="5" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Dahili telefon no" FontSize="13.333" Grid.Row="6" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Cep telefonu" FontSize="13.333" Grid.Row="7" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="E-Mail adresi" FontSize="13.333" Grid.Row="8" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili2Adi" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="300" Grid.Row="5" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili2Dahili" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="50" Grid.Row="6" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili2Ceptel" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="7" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili2Email" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="200" Grid.Row="8" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="İsim" FontSize="13.333" Grid.Row="10" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Dahili telefon no" FontSize="13.333" Grid.Row="11" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="Cep telefonu" FontSize="13.333" Grid.Row="12" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,2,5,2" TextWrapping="Wrap" Text="E-Mail adresi" FontSize="13.333" Grid.Row="13" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili3Adi" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="300" Grid.Row="10" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili3Dahili" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="50" Grid.Row="11" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili3Ceptel" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="150" Grid.Row="12" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        			<TextBox x:Name="txtYetkili3Email" Grid.Column="1" HorizontalAlignment="Left" Margin="5,2,0,2" TextWrapping="Wrap" Width="200" Grid.Row="13" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
        		</Grid>
        	</controls:TabItem>
        </controls:TabControl>
    </Grid>
</controls:ChildWindow>